<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #content{
            position: absolute;
            left: 300px;
            top: 0px;
        }
    </style>
</head>
<body>
    <div style="width: 300px;height: 300px;border: 1px solid #000;position: relative;overflow: hidden">
        <div id="content">asdf</div>
    </div>
</body>
</html>